/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shanhesoft.java.common.core.vo.PageModel;
import com.shanhesoft.java.common.persistence.service.DataService;
import com.shanhesoft.java.modules.exam.domain.OjSubmissions;
import com.shanhesoft.java.modules.exam.domain.dto.OjSubmissionsDto;
import com.shanhesoft.java.modules.exam.domain.dto.OjSubmissionsQueryCriteria;
import com.shanhesoft.java.modules.exam.domain.vo.OjSubmissionsVo;

import java.util.Map;

/**
 * 提交记录Service 提交记录
 * @author admin
 * @version 2020-09-26 20:35:59
 */
public interface OjSubmissionsService extends DataService<OjSubmissions, OjSubmissionsDto, String>{
	public OjSubmissionsDto saveOrUpdateReturn(OjSubmissionsDto ojSubmissionsDto);
	public IPage<OjSubmissionsVo> getListPage(PageModel pm, QueryWrapper wrapper);
	public OjSubmissionsVo findVoById(String id);
	public IPage<Map<String, Object>> getUserList(PageModel pm, OjSubmissionsQueryCriteria ojSubmissionsQueryCriteria);
}
